package com.junqson.je.content.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.junqson.je.common.model.vo.SimpleUserInfo;
import lombok.Data;

import java.util.Date;

/**
 * @Descriptions
 * @Company
 * @Author Junqson
 * @Date 2020/2/11 10:44
 * @Version 1.0
 */
@Data
public class CommentVo {

    private Long commentId;

    private Long postId;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date commentTime;

    private SimpleUserInfo userInfo;

}
